﻿//-----------------------------------------------------------------------
// <copyright file="CssSelector.cs" company="Erik Lieben">
//     Copyright Erik Lieben. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ErikLieben.CssPreprocessor
{
    using System.Collections.Generic;

    /// <summary>
    /// The data object to store a css selector
    /// </summary>
    public class CssSelector
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CssSelector"/> class.
        /// </summary>
        public CssSelector()
        {
            Parameters = new Dictionary<string, string>();
        }

        /// <summary>
        /// Gets or sets the name of the selector.
        /// </summary>
        /// <value>The name of the css selector.</value>
        public string Name { get; set; }
        
        /// <summary>
        /// Gets or sets the pseudo of the selector (if available).
        /// </summary>
        /// <value>The pseudo of the css selector.</value>
        public string Pseudo { get; set; }

        /// <summary>
        /// Gets or sets the parameters.
        /// TODO: Figure out if this is the correct place to store those
        /// </summary>
        /// <value>The parameters used for css extensions.</value>
        public Dictionary<string, string> Parameters { get; set; }
    }
}
